<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: eosio::datastream&lt; size_t &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceeosio.html">eosio</a></li><li class="navelem"><a class="el" href="classeosio_1_1datastream_3_01size__t_01_4.html">datastream&lt; size_t &gt;</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classeosio_1_1datastream_3_01size__t_01_4-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">eosio::datastream&lt; size_t &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Specialization of datastream used to help determine the final size of a serialized value.  
</p>

<p><code>#include &lt;<a class="el" href="datastream_8hpp_source.html">datastream.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abf5e113ace4a6bfa309fcecf3fc49f63"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1datastream_3_01size__t_01_4.html#abf5e113ace4a6bfa309fcecf3fc49f63">datastream</a> (<a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> init_size=0)</td></tr>
<tr class="separator:abf5e113ace4a6bfa309fcecf3fc49f63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9d7da49e77a5db9c80c256845b26894"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1datastream_3_01size__t_01_4.html#ad9d7da49e77a5db9c80c256845b26894">skip</a> (<a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> s)</td></tr>
<tr class="separator:ad9d7da49e77a5db9c80c256845b26894"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c2ca245c9f33549505ea7886a1d3ecf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1datastream_3_01size__t_01_4.html#a3c2ca245c9f33549505ea7886a1d3ecf">write</a> (const char *, <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> s)</td></tr>
<tr class="separator:a3c2ca245c9f33549505ea7886a1d3ecf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a1a95751dafd76aea580d80c84bf8bb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1datastream_3_01size__t_01_4.html#a4a1a95751dafd76aea580d80c84bf8bb">put</a> (char)</td></tr>
<tr class="separator:a4a1a95751dafd76aea580d80c84bf8bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46f1fc6f14d7e79c2181f4e3a2ae5b12"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1datastream_3_01size__t_01_4.html#a46f1fc6f14d7e79c2181f4e3a2ae5b12">valid</a> () const</td></tr>
<tr class="separator:a46f1fc6f14d7e79c2181f4e3a2ae5b12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4720cb82d256a41f27bbf389b37790b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1datastream_3_01size__t_01_4.html#ac4720cb82d256a41f27bbf389b37790b">seekp</a> (<a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> p)</td></tr>
<tr class="separator:ac4720cb82d256a41f27bbf389b37790b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadcdabf95d8b142bd9b43bbcdc4e0d9f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1datastream_3_01size__t_01_4.html#aadcdabf95d8b142bd9b43bbcdc4e0d9f">tellp</a> () const</td></tr>
<tr class="separator:aadcdabf95d8b142bd9b43bbcdc4e0d9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a345f36fa8492917662d6185db631042d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeosio_1_1datastream_3_01size__t_01_4.html#a345f36fa8492917662d6185db631042d">remaining</a> () const</td></tr>
<tr class="separator:a345f36fa8492917662d6185db631042d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abf5e113ace4a6bfa309fcecf3fc49f63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf5e113ace4a6bfa309fcecf3fc49f63">&#9670;&nbsp;</a></span>datastream()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classeosio_1_1datastream.html">eosio::datastream</a>&lt; <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> &gt;::<a class="el" href="classeosio_1_1datastream.html">datastream</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a>&#160;</td>
          <td class="paramname"><em>init_size</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4a1a95751dafd76aea580d80c84bf8bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a1a95751dafd76aea580d80c84bf8bb">&#9670;&nbsp;</a></span>put()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classeosio_1_1datastream.html">eosio::datastream</a>&lt; <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> &gt;::put </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a345f36fa8492917662d6185db631042d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a345f36fa8492917662d6185db631042d">&#9670;&nbsp;</a></span>remaining()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> <a class="el" href="classeosio_1_1datastream.html">eosio::datastream</a>&lt; <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> &gt;::remaining </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac4720cb82d256a41f27bbf389b37790b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4720cb82d256a41f27bbf389b37790b">&#9670;&nbsp;</a></span>seekp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classeosio_1_1datastream.html">eosio::datastream</a>&lt; <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> &gt;::seekp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a>&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad9d7da49e77a5db9c80c256845b26894"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9d7da49e77a5db9c80c256845b26894">&#9670;&nbsp;</a></span>skip()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classeosio_1_1datastream.html">eosio::datastream</a>&lt; <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> &gt;::skip </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a>&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aadcdabf95d8b142bd9b43bbcdc4e0d9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadcdabf95d8b142bd9b43bbcdc4e0d9f">&#9670;&nbsp;</a></span>tellp()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> <a class="el" href="classeosio_1_1datastream.html">eosio::datastream</a>&lt; <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> &gt;::tellp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a46f1fc6f14d7e79c2181f4e3a2ae5b12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46f1fc6f14d7e79c2181f4e3a2ae5b12">&#9670;&nbsp;</a></span>valid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classeosio_1_1datastream.html">eosio::datastream</a>&lt; <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> &gt;::valid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3c2ca245c9f33549505ea7886a1d3ecf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c2ca245c9f33549505ea7886a1d3ecf">&#9670;&nbsp;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classeosio_1_1datastream.html">eosio::datastream</a>&lt; <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> &gt;::write </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a>&#160;</td>
          <td class="paramname"><em>s</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>contracts/eoslib/<a class="el" href="datastream_8hpp_source.html">datastream.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
